//
//  HomeFunTableViewCell.m
//  SafeFoodManagerDemo
//
//  Created by bob on 2017/10/14.
//  Copyright © 2017年 bob. All rights reserved.
//

#import "HomeFunTableViewCell.h"

@implementation HomeFunTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


-(void)setMenus:(LoginMenus *)menus
{
    _menus=menus;
    
     self.IcoImageView.image=[UIImage imageNamed:menus.icon];
    
    self.TitleLabel.text=menus.name;
}


-(void)setTypemodel:(ShopTypeData *)Typemodel
{
    _Typemodel=Typemodel;
    
    self.IcoImageView.image=[UIImage imageNamed:Typemodel.icon];
    
    self.TitleLabel.text=Typemodel.name;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
